import BaseUrl from "../http/BaseUrl"

const URLTitle = {

    // 所有的非动态url
    //BASIC
    BASIC_DICT_LIST: BaseUrl.BASIC + "/dict/district/list-by-parent",//根据父级查询子级地区列表

    //PASSPORT
    PASSPORT_LOGIN: BaseUrl.PASSPORT + "/passport/login",//用户登录
    PASSPORT_LOGOUT: BaseUrl.PASSPORT + "/passport/logout",//退出登录
    PASSPORT_LOGIN_LOGS: BaseUrl.PASSPORT + "/login-logs",//查询登录日志列表

    //ATTACHMENT
    ATTACHMENT_UPLOAD_AVATAR: BaseUrl.ATTACHMENT + "/upload/image/user-avatar",//上传用户头像
    ATTACHMENT_UPLOAD_ARTICLE: BaseUrl.ATTACHMENT + "/upload/image/article",//上传文章图片
    ATTACHMENT_UPLOAD_GOODS: BaseUrl.ATTACHMENT + "/upload/image/goods",//上传商品图片

    //FRONT_ACCOUNT
    FRONT_ACCOUNT_USERS_REGISTER: BaseUrl.FRONT_ACCOUNT + "/users/register",//用户注册
    FRONT_ACCOUNT_USERS_INFO_UPDATE: BaseUrl.FRONT_ACCOUNT + "/users/info/update",//修改基本信息
    FRONT_ACCOUNT_USERS_PASSWORD_UPDATE: BaseUrl.FRONT_ACCOUNT + "/users/password/update",//修改密码
    FRONT_ACCOUNT_USERS_AVATAR_UPDATE: BaseUrl.FRONT_ACCOUNT + "/users/avatar/update",//修改头像
    FRONT_ACCOUNT_USERS_PHONE_UPDATE: BaseUrl.FRONT_ACCOUNT + "/users/phone/update",//修改手机号码
    FRONT_ACCOUNT_USERS_EMAIL_UPDATE: BaseUrl.FRONT_ACCOUNT + "/users/email/update",//修改电子邮箱
    FRONT_ACCOUNT_USERS_INFO: BaseUrl.FRONT_ACCOUNT + "/users/info",//查询当前用户基本信息

    //FRONT_CONTENT
    FRONT_CONTENT_CATEGORIES: BaseUrl.FRONT_CONTENT + "/categories",//查询类别列表
    FRONT_CONTENT_ARTICLES_RECOMMEND: BaseUrl.FRONT_CONTENT + "/articles/recommend",//查询推荐的文章列表
    FRONT_CONTENT_ARTICLES_LIST_BY_CATEGORY: BaseUrl.FRONT_CONTENT + "/articles/list-by-category",//根据类别查询文章列表
    FRONT_CONTENT_COMMENTS_ADD: BaseUrl.FRONT_CONTENT + "/comments/add-new/article-comment",//发表文章评论
    FRONT_CONTENT_COMMENTS_BY_ARTICLES: BaseUrl.FRONT_CONTENT + "/comments/list-by-article",//根据文章查询评论列表

    //FRONT_MALL
    FRONT_MALL_CATEGORIES_TREE: BaseUrl.FRONT_MALL + "/categories/tree",//查询类别树
    FRONT_MALL_CATEGORIES_LIST_BY_PARENT: BaseUrl.FRONT_MALL + "/categories/list-by-parent",//根据父级查询子级列表
    FRONT_MALL_GOODS_LIST_BY_RECOMMEND: BaseUrl.FRONT_MALL + "/goods/list-by-recommend",//查询推荐的商品列表
    FRONT_MALL_GOODS_LIST_BY_CATEGORY: BaseUrl.FRONT_MALL + "/goods/list-by-category",//根据类别查询商品列表
    FRONT_MALL_ADDRESSES_ADD: BaseUrl.FRONT_MALL + "/receiver-addresses/add-new",//添加收货地址
    FRONT_MALL_ADDRESSES_LIST: BaseUrl.FRONT_MALL + "/receiver-addresses",//查询收货地址列表
    FRONT_MALL_COMMENTS_ADD: BaseUrl.FRONT_MALL + "/comments/add-new/goods-comment",//发表商品评论
    FRONT_MALL_COMMENTS_LIST: BaseUrl.FRONT_MALL + "/comments/list-by-goods",//查询商品的评论列表



}


export default URLTitle